package org.jeecg.modules.classrooms.classrooms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: classrooms
 * @Author: jeecg-boot
 * @Date:   2020-06-03
 * @Version: V1.0
 */
@ApiModel(value="classrooms对象", description="classrooms")
@Data
@TableName("classrooms")
public class Classrooms implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id 教室id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id 教室id")
    private String id;
	/**教室编号*/
	@Excel(name = "教室编号", width = 15)
    @ApiModelProperty(value = "教室编号")
    private String classroomsNumber;
	/**教室名称*/
	@Excel(name = "教室名称", width = 15)
    @ApiModelProperty(value = "教室名称")
    private String classroomsName;
	/**教室类型*/
	@Excel(name = "教室类型", width = 15, dicCode = "classrooms_type")
    @Dict(dicCode = "classrooms_type")
    @ApiModelProperty(value = "教室类型")
    private String classroomsType;
	/**教室状态*/
	@Excel(name = "教室状态", width = 15, dicCode = "classrooms_status")
    @Dict(dicCode = "classrooms_status")
    @ApiModelProperty(value = "教室状态")
    private String classroomsStatus;
	/**租用状态*/
	@Excel(name = "租用状态", width = 15, dicCode = "rent_status")
    @Dict(dicCode = "rent_status")
    @ApiModelProperty(value = "租用状态")
    private String rentStatus;
	/**教室面积*/
	@Excel(name = "教室面积", width = 15)
    @ApiModelProperty(value = "教室面积")
    private String classroomsArea;
	/**教室容量*/
	@Excel(name = "教室容量", width = 15)
    @ApiModelProperty(value = "教室容量")
    private String classroomsCapacity;
    /**教室容量*/
    @Excel(name = "教室最小容量", width = 15)
    @ApiModelProperty(value = "教室最小容量")
    private String minCapacity;
	/**教室租金*/
	@Excel(name = "教室租金", width = 15)
    @ApiModelProperty(value = "教室租金")
    private String classroomsRental;
	/**教室资产*/
	@Excel(name = "教室资产", width = 15)
    @ApiModelProperty(value = "教室资产")
    private String propertyId;
	/**教室照片*/
	@Excel(name = "教室照片", width = 15)
    @ApiModelProperty(value = "教室照片")
    private String classroomsPhoto;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
